#ifndef PAGEMANAGER_H
#define PAGEMANAGER_H

#include <QWidget>
#include <QLabel>
#include <QSettings>
#include <QTabWidget>
#include <pageandview/pagewidget.h>
#include <pageandview/viewmanager.h>
#include <pageandview/viewwidget.h>

class PageWidget;

class PageManager : public QTabWidget
{
    Q_OBJECT

public:
    PageManager(QWidget *parent = 0);

    void split(Qt::Orientation orientation);
    void saveSettings(QSettings* qs = 0);
    void readSettings(QSettings* qs = 0);

public slots:
    void split_hor();
    void split_ver();

private:
    QList<PageWidget*> m_PageWidgetList;

};

#endif // PAGEMANAGER_H
